# Template file for 'gatotray'
pkgname=gatotray
version=4.1
revision=1
hostmakedepends="pkgconf"
makedepends="gtk+-devel procps-ng-devel"
short_desc="Graphical CPU stats monitor in the system tray"
maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
license="CC-BY-3.0"
homepage="https://github.com/gatopeich/gatotray"
distfiles="https://github.com/gatopeich/gatotray/archive/v${version}.tar.gz"
checksum=d7d77e9b6cce92725f5ae69304f190392344d43df522dfed65a2c68e2affcce3

do_build() {
	make
}

do_install() {
	vbin gatotray
	vmkdir usr/share/pixmaps
	cp gatotray3X.png ${DESTDIR}/usr/share/pixmaps/gatotray.png
	vinstall gatotray.xpm 0644 usr/share/pixmaps
	vinstall gatotray.desktop 0644 usr/share/applications
}
